#! /bin/sh

set -e

# Load debconf
. /usr/share/debconf/confmodule

CFG_FILE='/etc/fpc.cfg'
CFG_PRIORITY=$(echo ${VERSION} | sed -e 's/\.//g')

if test -f "${CFG_FILE}" && ! test -L "${CFG_FILE}"
then
	db_input high fp-compiler${PACKAGESUFFIX}/rename_cfg
	db_go
fi

# Debhelper code
#DEBHELPER#
